package org.example.entity;

/**
 * 对应模板的信息父类
 *
 */
public class TemplateInfoEntity {

    /**
     * 包名
     */
    protected String packagePath;

    /**
     * 文件路径
     */
    protected String filePath;

    /**
     * 模板名称
     */
    protected String templateName;

    /**
     * 实现接口的包
     */
    protected String implementsPackagePath;

    /**
     * 类名
     */
    protected String className;

    /**
     * 变量名
     */
    protected String varName;

    protected TemplateInfoEntity() {

    }

    protected TemplateInfoEntity(ProjectInfoEntity project) {

    }

    /**
     * @param packagePath           包名
     * @param filePath              文件路径
     * @param templateName          模板名称
     * @param implementsPackagePath 实现接口的包
     * @param className             类名
     * @param varName               变量名
     */
    public TemplateInfoEntity(String packagePath, String filePath, String templateName, String implementsPackagePath, String className, String varName) {
        this.packagePath = packagePath;
        this.filePath = filePath;
        this.templateName = templateName;
        this.implementsPackagePath = implementsPackagePath;
        this.className = className;
        this.varName = varName;

    }

    public String getPackagePath() {
        return packagePath;
    }

    public void setPackagePath(String packagePath) {
        this.packagePath = packagePath;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getImplementsPackagePath() {
        return implementsPackagePath;
    }

    public void setImplementsPackagePath(String implementsPackagePath) {
        this.implementsPackagePath = implementsPackagePath;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getVarName() {
        return varName;
    }

    public void setVarName(String varName) {
        this.varName = varName;
    }

    @Override
    public String toString() {
        return "TemplateInfoEntity{" +
                "packagePath='" + packagePath + '\'' +
                ", filePath='" + filePath + '\'' +
                ", templateName='" + templateName + '\'' +
                ", implementsPackagePath='" + implementsPackagePath + '\'' +
                ", className='" + className + '\'' +
                ", varName='" + varName + '\'' +
                '}';
    }
}
